import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

import {
  find,
} from "./find_store";
import {
  song_detail,
} from "./song_detail_store";
import {
  song_check,
} from "./song_check_store";
import {
  mv_recommend,
} from "./mv_recommend_store";
import {
  mv_rank,
} from "./mv_rank_store";
import {
  mv_all,
} from "./mv_all_store";
import {
  login,
} from "./login_store";
import {
  phone_confirm,
} from "./phone_confirm_store";
import {
  user,
} from "./user_store";
import {
  register_success,
} from "./register_success_store";
import {
  captcha,
} from "./captcha_store";
import {
  sent_captcha,
} from "./sent_captcha_store";
import {
  mail,
} from "./mail_store";
import {
  logout,
} from "./logout_store";
import {
  login_refresh,
} from "./login_refresh_store";
import {
  login_status,
} from "./login_status_store";
import {
  user_detail,
} from "./user_detail_store";
import {
  playlist_catlist,
} from "./playlist_catlist_store";
import {
  playlist_cat,
} from "./playlist_cat_store";
import {
  personalized,
} from "./personalized_store";
import {
  highquality,
} from "./highquality_store";
import {
  nickname,
} from "./nickname_store";
import {
  toplist_detail,
} from "./toplist_detail_store";
import {
  toplist,
} from "./toplist_store";
import {
  recommend,
} from "./recommend_store";
import {
  song_url,
} from "./song_url_store";
import {
  song_status,
} from "./song_status_store";
import {
  play_rule,
} from "./play_rule_store";
import {
  likelist,
} from "./likelist_store";
import {
  comment_music,
} from "./comment_music_store";
import {
  comment_hot,
} from "./comment_hot_store";
import {
  comment_like,
} from "./comment_like_store";
import {
  comment,
} from "./comment_store";
import {
  user_playlist,
} from "./user_playlist_store";
import {
  create_playlist,
} from "./create_playlist_store";
import {
  playlist_tracks,
} from "./playlist_tracks_store";
import {
  artists,
} from "./artists_store";
import {
  artist_desc,
} from "./artist_desc_store";

const store = new Vuex.Store({
  modules: {
    find,
    song_detail,
    song_check,
    mv_recommend,
    mv_rank,
    mv_all,
    login,
    phone_confirm,
    user,
    register_success,
    captcha,
    sent_captcha,
    mail,
    logout,
    login_refresh,
    login_status,
    user_detail,
    playlist_catlist,
    playlist_cat,
    personalized,
    highquality,
    nickname,
    toplist_detail,
    toplist,
    recommend,
    song_url,
    song_status,
    play_rule,
    likelist,
    comment_music,
    comment_hot,
    comment_like,
    comment,
    user_playlist,
    create_playlist,
    playlist_tracks,
    artists,
    artist_desc,
  }
});

export default store;
